Skip to content

feat: generate synology charm#771

Open
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-synology-charm
Open

feat: generate synology charm#771
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-synology-charm

Conversation

@ahmad-can
Copy link
Copy Markdown

@ahmad-can ahmad-can commented Apr 14, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new Synology storage backend implementation in sunbeam-python, along with unit tests and updates to the shared backend test fixtures to include the new backend.

Changes:

  • Add SynologyBackend + SynologyConfig (Pydantic model) under sunbeam.storage.backends.synology.
  • Add unit tests validating backend identity, config fields, secret-field marking, and protocol validation.
  • Extend common backend tests/fixtures to include Synology in the “all backends” suite.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
sunbeam-python/sunbeam/storage/backends/synology/backend.py Adds the Synology backend class and its configuration model.
sunbeam-python/sunbeam/storage/backends/synology/init.py Declares the new backend package.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_synology.py Adds Synology-specific unit tests (backend + config validation).
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds synology_backend fixture and includes it in the parametrized any_backend.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Updates common uniqueness/expectation tests to include Synology.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sunbeam-python/sunbeam/storage/backends/synology/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/synology/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/synology/backend.py
Comment thread sunbeam-python/sunbeam/storage/backends/synology/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/synology/backend.py
@ahmad-can ahmad-can force-pushed the feature/generate-synology-charm branch from 94ddd51 to 4868c05 Compare April 21, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants